package com.sg.dto.integration.component;

import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc ConfItemMatchEvaThemeAnswerDto
 * @使用场景
 */
@Data
public class ConfItemMatchEvaThemeAnswerDto extends BaseDto implements Serializable {

    /**
     * 配置方案ID
     */
    @ApiModelProperty("配置方案ID ")
    private String confSchemeId;

    /**
     * 标题文案
     */
    @ApiModelProperty("标题文案")
    private String headCopywriter;

    /**
     * 模板方案简述
     */
    @ApiModelProperty("模板方案简述")
    private String evaThemeSketch;

    /**
     * 按钮提示文案
     */
    @ApiModelProperty("按钮提示文案")
    private String buttonCopywriter;

    /**
     * 媒体内容地址
     */
    @ApiModelProperty("媒体内容地址")
    private String mediaContentAddress;
    /**
     * 答案值
     */
    @ApiModelProperty("评价主题类型")
    private String endValue;
    /**
     * 答案ID
     */
    @ApiModelProperty("答案ID")
    private String optionResultId;

    /**
     * 答案排序
     */
    @ApiModelProperty("答案排序")
    private Long confOptionSortNum;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        ConfItemMatchEvaThemeAnswerDto that = (ConfItemMatchEvaThemeAnswerDto) o;
        return confSchemeId == that.confSchemeId && headCopywriter == that.headCopywriter && evaThemeSketch == that.evaThemeSketch && buttonCopywriter == that.buttonCopywriter && mediaContentAddress == that.mediaContentAddress && endValue == that.endValue && optionResultId == that.optionResultId && confOptionSortNum == that.confOptionSortNum;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), confSchemeId, headCopywriter, evaThemeSketch, buttonCopywriter, mediaContentAddress, endValue, optionResultId, confOptionSortNum);
    }


}
   